package org.biojava.services.das.registry;

public class RegistryDirectoryInfo {
	
    private static RegistryDirectoryInfo ref;
    private static String indexDirectory;

	private RegistryDirectoryInfo(){
		
	}
	
	public static synchronized RegistryDirectoryInfo getRegistryDirectoryInfo()
    {
      if (ref == null)
          // it's ok, we can call this constructor
          ref = new RegistryDirectoryInfo();
      return ref;
    }

	public void setIndexDirectory(String directory) {
		indexDirectory=directory;
		
	}

	public String getIndexDirectory(){
		return indexDirectory;
	}


}
